﻿namespace EFS.RC.SupervisorCentral.Common
{
	/// Class to cache global objects during application
	public class Session
	{
		/// Static contrunctor
		static Session()
		{
			Instance = new Session();
		}

		/// Private constructor
		private Session()
		{
			AgentList = new EFS.RC.SupervisorCentral.Agents.StatusList();
			Domain = new EFS.AD.Domain();
		}

		/// Singleton for this class
		public static Session Instance { get; private set; }

		/// Agents list
		public EFS.RC.SupervisorCentral.Agents.StatusList AgentList { get; private set; }

		/// The Domain
		public EFS.AD.Domain Domain { get; private set; }
	}

}